package org.hospital.service.impl;

import org.hospital.entity.Log;
import org.hospital.entity.LogDAO;
import org.hospital.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class LogServiceImpl implements LogService{
	
	@Autowired
	private LogDAO lDao;
	
	@Override
	public Log addEntity(Log entity) {
		return lDao.merge(entity);
	}

}
